<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>圣杯布局</title>
		<style type="text/css">
			.content{
				margin:0 100px;
				background-color: gray;
			}
			
			.cwrap{
				width:100%;
				height:100px;
				background-color: red;
				float: left;
			}
			.left{
				width:100px;
				height: 100px;
				background-color: blue;
				float: left;
				margin-left: -100%;
			}
			.right{
				width:100px;
				height:100px;
				background-color: pink;
				float: left; 
				margin-left:-100px;
			}
		</style>
	</head>
	<body>
		<div class="wrap">
			<div class="cwrap">
				<div class="content">content</div>
			</div>
			<div class="left">left</div>
			<div class="right">right</div>
		</div>
	</body>
</html>
